package KMP;

public class KMP {
    public static void main(String[] args){
        String str1="BBC ABCDAB ABCDABCDABDE";
        String str2="ABCDABDL";
        int next[]=Setting.nextArr(str2);
        int res=Setting.KMP(next,str1,str2);
        System.out.print(res);
    }
}
